package org.ithang.tools.model;


import org.ithang.tools.eth.ETHWebSocket;
import org.springframework.stereotype.Component;

/**
 * 管理所有webscoket
 * @author Administrator
 *
 */
@Component
public class WSHome {

	private ETHWebSocket ethWebSocket=null;
	
	
	public WSHome(){
        try{
		    ethWebSocket=new ETHWebSocket();
		}catch(Exception e){
			e.printStackTrace();
		}
	}


	public void start(){
		new Thread(new Runnable() {
			
			@Override
			public void run() {
				
			}
		});
	}
	
	
	public ETHWebSocket getEthWebSocket() {
		return ethWebSocket;
	}


	public void setEthWebSocket(ETHWebSocket ethWebSocket) {
		this.ethWebSocket = ethWebSocket;
	}
	
	
}
